package com.jinmdz.fmis.dao.admin.model.accountuser;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.constant.EDictCode;
import com.jinmdz.fmis.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户帐号列表Item
 *
 * @author LiCongLu
 * @date 2020-03-17 09:30
 */
@ApiModel(value = "用户帐号列表Item", description = "用户帐号列表Item")
public class AccountUserListItem extends BaseItem {
    /**
     * 员工编号
     */
    @ApiModelProperty(value = "员工编号", name = "jobNo", position = 1)
    private String jobNo;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", name = "fullName", position = 2)
    private String fullName;

    /**
     * 性别编码
     */
    @ApiModelProperty(value = "性别编码", name = "userGenderCode", position = 3)
    @JsonIgnore
    private Integer userGenderCode;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别", name = "userGender", position = 4)
    @AnDict(dict = EDictCode.SEX, ref = "userGenderCode")
    private String userGender;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话", name = "mobilePhone", position = 5)
    private String mobilePhone;

    /**
     * 其他电话
     */
    @ApiModelProperty(value = "其他电话", name = "otherPhone", position = 6)
    private String otherPhone;

    /**
     * 联系地址
     */
    @ApiModelProperty(value = "联系地址", name = "address", position = 7)
    private String address;

    /**
     * 所属公司外键
     */
    @ApiModelProperty(value = "所属公司外键", name = "companyId", position = 8)
    @JsonIgnore
    private Integer companyId;

    /**
     * 所属公司
     */
    @ApiModelProperty(value = "所属公司", name = "companyName", position = 9)
    private String companyName;

    /**
     * 所属部门外键
     */
    @JsonIgnore
    @ApiModelProperty(value = "所属部门外键", name = "departmentId", position = 10)
    private Integer departmentId;

    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门", name = "departmentName", position = 11)
    private String departmentName;

    /**
     * 禁用状态
     */
    @ApiModelProperty(value = "禁用状态", name = "disableState", position = 12)
    private Integer disableState;

    /**
     * IC卡卡号
     */
    @ApiModelProperty(value = "IC卡卡号", name = "icCardCode", position = 13)
    private String icCardCode;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", name = "sort", position = 14)
    private Integer sort;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", name = "remark", position = 15)
    private String remark;

    public String getJobNo() {
        return jobNo;
    }

    public AccountUserListItem setJobNo(String jobNo) {
        this.jobNo = jobNo;
        return this;
    }

    public String getFullName() {
        return fullName;
    }

    public AccountUserListItem setFullName(String fullName) {
        this.fullName = fullName;
        return this;
    }

    public Integer getUserGenderCode() {
        return userGenderCode;
    }

    public AccountUserListItem setUserGenderCode(Integer userGenderCode) {
        this.userGenderCode = userGenderCode;
        return this;
    }

    public String getUserGender() {
        return userGender;
    }

    public AccountUserListItem setUserGender(String userGender) {
        this.userGender = userGender;
        return this;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public AccountUserListItem setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
        return this;
    }

    public String getOtherPhone() {
        return otherPhone;
    }

    public AccountUserListItem setOtherPhone(String otherPhone) {
        this.otherPhone = otherPhone;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public AccountUserListItem setAddress(String address) {
        this.address = address;
        return this;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public AccountUserListItem setCompanyId(Integer companyId) {
        this.companyId = companyId;
        return this;
    }

    public String getCompanyName() {
        return companyName;
    }

    public AccountUserListItem setCompanyName(String companyName) {
        this.companyName = companyName;
        return this;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public AccountUserListItem setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
        return this;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public AccountUserListItem setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public AccountUserListItem setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public String getIcCardCode() {
        return icCardCode;
    }

    public AccountUserListItem setIcCardCode(String icCardCode) {
        this.icCardCode = icCardCode;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public AccountUserListItem setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public AccountUserListItem setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}
